package Elevator;

import Passenger.Passenger;

import java.util.LinkedList;

/**
 * Created by Connor Madden.
 * User: Connor Madden
 * Date: 7/10/11
 * Time: 4:24 PM
 */
public interface ElevatorI extends ObservableI {
    public boolean move(float destination);

    public int getNum();

    public void setNum(int num);

    public LinkedList<Passenger> getPassengers();

    public boolean addPassenger(Passenger passenger);

    public boolean removePassenger(Passenger passenger);

    public Elevator.State getState();

    public float getLocation();

    public void setClosingTime(int closingTime);

    public int getOpeningTime();

    public void setOpeningTime(int openingTime);
}
